<?php
require_once 'simpletest/unit_tester.php';
require_once 'simpletest/reporter.php';
require_once __DIR__ . '/../NoticeController.php';
require_once APPLICATION_PATH . '/models/HttpRequest/HttpRequestController.php';
require_once APPLICATION_PATH . '/models/Calendar/xml/CalendarXmlController.php';

class NoticeTest extends UnitTestCase
{
	public function Test1100()
	{
		$_REQUEST[Names::YOTEIID] = '1347054746.8928';
		$objCalendar = new Models_Calendar_Xml_Controller('201209');
		$objNotice = new Components_NoticeController($objCalendar);
		$objNotice->Rows = 4;
		$objNotice->Cols =40;
		$objNotice->Style = 'color:RED;textalign:center;';
		$sHtml = $objNotice->fetch();
		echo $sHtml;
	}
}